package com.forum.service;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.service.IService;
import com.forum.entity.news;
import com.forum.utils.PageUtils;

import java.util.Map;

public interface NewsService extends IService<news>{
    PageUtils QueryPage(Map<String , Object> params);

    PageUtils QueryPage(Map<String, Object> params, Wrapper<news> wrapper);
}
